
import { createRouter, createWebHistory } from 'vue-router'


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      component: () => import('../views/LoginView.vue')
    },
    {
      path: '/memberadd',
      component: () => import('../views/member/MemberAdd.vue')
    },
    {
      path: '/memberlist',
      component: () => import('../views/member/MemberListView.vue')
    },
    {
      path: '/memberlevellist',
      component: () => import('../views/member/MemberLevelListView.vue')
    },
    {
      path: '/memberleveladd',
      component: () => import('../views/member/MemberLevelAddView.vue')
    },
    {
      path: '/memberupdate',
      component: () => import('../views/member/MemberUpdate.vue')
    },
    {
      path:'/memberqy',
      component: () => import('../views/member/MemberQY.vue')
    },
    {
      path:'/memberqyadd',
      component: () => import('../views/member/MemberqyAdd.vue')
    },
    {
      path:'/memberrightupd',
      component: () => import('../views/member/Memberrightupd.vue')
    },
    {
      path:'/shoplist',
      component: () => import('../views/shop/ShopList.vue')
    },
    {
      path:'/shopadd',
      component: () => import('../views/shop/ShopAdd.vue')
    },
    {
      path:'/shopupd',
      component: () => import('../views/shop/ShopUpd.vue')
    }
  ]
})

export default router
